.class public Lcom/waiqin365/lightapp/returngoods/e;
.super Landroid/widget/BaseAdapter;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/returngoods/CRGRelanvantOrdersActy;


# direct methods
.method public constructor <init>(Lcom/waiqin365/lightapp/returngoods/CRGRelanvantOrdersActy;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/returngoods/e;->a:Lcom/waiqin365/lightapp/returngoods/CRGRelanvantOrdersActy;

    invoke-direct {p0}, Landroid/widget/BaseAdapter;-><init>()V

    return-void
.end method


# virtual methods
.method public getCount()I
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/e;->a:Lcom/waiqin365/lightapp/returngoods/CRGRelanvantOrdersActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/returngoods/CRGRelanvantOrdersActy;->b(Lcom/waiqin365/lightapp/returngoods/CRGRelanvantOrdersActy;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    return v0
.end method

.method public getItem(I)Ljava/lang/Object;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/e;->a:Lcom/waiqin365/lightapp/returngoods/CRGRelanvantOrdersActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/returngoods/CRGRelanvantOrdersActy;->b(Lcom/waiqin365/lightapp/returngoods/CRGRelanvantOrdersActy;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    return-object v0
.end method

.method public getItemId(I)J
    .locals 2

    int-to-long v0, p1

    return-wide v0
.end method

.method public getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
    .locals 10

    const/16 v9, 0x8

    const/4 v8, 0x0

    if-nez p2, :cond_5

    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/e;->a:Lcom/waiqin365/lightapp/returngoods/CRGRelanvantOrdersActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/returngoods/CRGRelanvantOrdersActy;->f(Lcom/waiqin365/lightapp/returngoods/CRGRelanvantOrdersActy;)Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    const v1, 0x7f0301f4

    invoke-virtual {v0, v1, p3, v8}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object p2

    new-instance v1, Lcom/waiqin365/lightapp/returngoods/f;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/returngoods/f;-><init>(Lcom/waiqin365/lightapp/returngoods/e;)V

    const v0, 0x7f0c0a6d

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, v1, Lcom/waiqin365/lightapp/returngoods/f;->a:Landroid/widget/TextView;

    const v0, 0x7f0c0a6f

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, v1, Lcom/waiqin365/lightapp/returngoods/f;->b:Landroid/widget/TextView;

    const v0, 0x7f0c0a70

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, v1, Lcom/waiqin365/lightapp/returngoods/f;->c:Landroid/widget/TextView;

    const v0, 0x7f0c0a71

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, v1, Lcom/waiqin365/lightapp/returngoods/f;->d:Landroid/widget/TextView;

    const v0, 0x7f0c0a72

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, v1, Lcom/waiqin365/lightapp/returngoods/f;->e:Landroid/widget/TextView;

    const v0, 0x7f0c0a6e

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, v1, Lcom/waiqin365/lightapp/returngoods/f;->h:Landroid/widget/ImageView;

    const v0, 0x7f0c0a73

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, v1, Lcom/waiqin365/lightapp/returngoods/f;->f:Landroid/widget/LinearLayout;

    const v0, 0x7f0c0a74

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, v1, Lcom/waiqin365/lightapp/returngoods/f;->g:Landroid/view/View;

    invoke-virtual {p2, v1}, Landroid/view/View;->setTag(Ljava/lang/Object;)V

    :goto_0
    iget-object v0, v1, Lcom/waiqin365/lightapp/returngoods/f;->d:Landroid/widget/TextView;

    invoke-virtual {v0, v9}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/e;->a:Lcom/waiqin365/lightapp/returngoods/CRGRelanvantOrdersActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/returngoods/CRGRelanvantOrdersActy;->b(Lcom/waiqin365/lightapp/returngoods/CRGRelanvantOrdersActy;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/returngoods/c/a;

    iget-object v2, p0, Lcom/waiqin365/lightapp/returngoods/e;->a:Lcom/waiqin365/lightapp/returngoods/CRGRelanvantOrdersActy;

    invoke-static {v2}, Lcom/waiqin365/lightapp/returngoods/CRGRelanvantOrdersActy;->b(Lcom/waiqin365/lightapp/returngoods/CRGRelanvantOrdersActy;)Ljava/util/List;

    move-result-object v2

    invoke-interface {v2}, Ljava/util/List;->size()I

    move-result v2

    add-int/lit8 v2, v2, -0x1

    if-ge p1, v2, :cond_6

    iget-object v2, v1, Lcom/waiqin365/lightapp/returngoods/f;->f:Landroid/widget/LinearLayout;

    invoke-virtual {v2, v8}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v2, v1, Lcom/waiqin365/lightapp/returngoods/f;->g:Landroid/view/View;

    invoke-virtual {v2, v9}, Landroid/view/View;->setVisibility(I)V

    :goto_1
    iget-object v2, v0, Lcom/waiqin365/lightapp/returngoods/c/a;->h:Ljava/lang/String;

    invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-nez v2, :cond_0

    iget-object v2, v1, Lcom/waiqin365/lightapp/returngoods/f;->a:Landroid/widget/TextView;

    invoke-virtual {v2, v8}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v2, v1, Lcom/waiqin365/lightapp/returngoods/f;->a:Landroid/widget/TextView;

    iget-object v3, v0, Lcom/waiqin365/lightapp/returngoods/c/a;->h:Ljava/lang/String;

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_0
    iget-object v2, v0, Lcom/waiqin365/lightapp/returngoods/c/a;->b:Ljava/lang/String;

    invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-nez v2, :cond_1

    iget-object v2, v1, Lcom/waiqin365/lightapp/returngoods/f;->b:Landroid/widget/TextView;

    invoke-virtual {v2, v8}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v2, v1, Lcom/waiqin365/lightapp/returngoods/f;->b:Landroid/widget/TextView;

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v4, p0, Lcom/waiqin365/lightapp/returngoods/e;->a:Lcom/waiqin365/lightapp/returngoods/CRGRelanvantOrdersActy;

    const v5, 0x7f0805e3

    invoke-virtual {v4, v5}, Lcom/waiqin365/lightapp/returngoods/CRGRelanvantOrdersActy;->getString(I)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string/jumbo v4, ":    "

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    iget-object v4, v0, Lcom/waiqin365/lightapp/returngoods/c/a;->b:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_1
    iget-wide v2, v0, Lcom/waiqin365/lightapp/returngoods/c/a;->j:D

    const-wide/16 v4, 0x0

    cmpl-double v2, v2, v4

    if-eqz v2, :cond_2

    iget-object v2, v1, Lcom/waiqin365/lightapp/returngoods/f;->c:Landroid/widget/TextView;

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v4, p0, Lcom/waiqin365/lightapp/returngoods/e;->a:Lcom/waiqin365/lightapp/returngoods/CRGRelanvantOrdersActy;

    const v5, 0x7f080496

    invoke-virtual {v4, v5}, Lcom/waiqin365/lightapp/returngoods/CRGRelanvantOrdersActy;->getString(I)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string/jumbo v4, "    \u00a5"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    iget-wide v6, v0, Lcom/waiqin365/lightapp/returngoods/c/a;->j:D

    invoke-virtual {v4, v6, v7}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string/jumbo v5, ""

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-static {}, Lcom/waiqin365/lightapp/product/e/b;->f()I

    move-result v5

    const/4 v6, 0x1

    invoke-static {v4, v5, v6}, Lcom/waiqin365/lightapp/product/e/b;->b(Ljava/lang/String;IZ)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v2, v1, Lcom/waiqin365/lightapp/returngoods/f;->c:Landroid/widget/TextView;

    invoke-virtual {v2, v8}, Landroid/widget/TextView;->setVisibility(I)V

    :cond_2
    iget-object v2, v0, Lcom/waiqin365/lightapp/returngoods/c/a;->c:Ljava/lang/String;

    invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-nez v2, :cond_3

    iget-object v2, v1, Lcom/waiqin365/lightapp/returngoods/f;->e:Landroid/widget/TextView;

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v4, p0, Lcom/waiqin365/lightapp/returngoods/e;->a:Lcom/waiqin365/lightapp/returngoods/CRGRelanvantOrdersActy;

    const v5, 0x7f08078f

    invoke-virtual {v4, v5}, Lcom/waiqin365/lightapp/returngoods/CRGRelanvantOrdersActy;->getString(I)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string/jumbo v4, ":    "

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    iget-object v4, v0, Lcom/waiqin365/lightapp/returngoods/c/a;->c:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string/jumbo v4, "  "

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    iget-object v4, v0, Lcom/waiqin365/lightapp/returngoods/c/a;->e:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    iget-object v4, p0, Lcom/waiqin365/lightapp/returngoods/e;->a:Lcom/waiqin365/lightapp/returngoods/CRGRelanvantOrdersActy;

    const v5, 0x7f08078d

    invoke-virtual {v4, v5}, Lcom/waiqin365/lightapp/returngoods/CRGRelanvantOrdersActy;->getString(I)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v2, v1, Lcom/waiqin365/lightapp/returngoods/f;->e:Landroid/widget/TextView;

    invoke-virtual {v2, v8}, Landroid/widget/TextView;->setVisibility(I)V

    :cond_3
    iget-object v2, v0, Lcom/waiqin365/lightapp/returngoods/c/a;->n:Ljava/lang/String;

    invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-nez v2, :cond_4

    iget-object v2, v1, Lcom/waiqin365/lightapp/returngoods/f;->h:Landroid/widget/ImageView;

    invoke-virtual {v2, v8}, Landroid/widget/ImageView;->setVisibility(I)V

    const-string/jumbo v2, "0"

    iget-object v3, v0, Lcom/waiqin365/lightapp/returngoods/c/a;->n:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_7

    iget-object v0, v1, Lcom/waiqin365/lightapp/returngoods/f;->h:Landroid/widget/ImageView;

    const v1, 0x7f02030a

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    :cond_4
    :goto_2
    return-object p2

    :cond_5
    invoke-virtual {p2}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/returngoods/f;

    move-object v1, v0

    goto/16 :goto_0

    :cond_6
    iget-object v2, v1, Lcom/waiqin365/lightapp/returngoods/f;->f:Landroid/widget/LinearLayout;

    invoke-virtual {v2, v9}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v2, v1, Lcom/waiqin365/lightapp/returngoods/f;->g:Landroid/view/View;

    invoke-virtual {v2, v8}, Landroid/view/View;->setVisibility(I)V

    goto/16 :goto_1

    :cond_7
    const-string/jumbo v2, "1"

    iget-object v3, v0, Lcom/waiqin365/lightapp/returngoods/c/a;->n:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_8

    iget-object v0, v1, Lcom/waiqin365/lightapp/returngoods/f;->h:Landroid/widget/ImageView;

    const v1, 0x7f02030d

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    goto :goto_2

    :cond_8
    const-string/jumbo v2, "2"

    iget-object v3, v0, Lcom/waiqin365/lightapp/returngoods/c/a;->n:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_9

    iget-object v0, v1, Lcom/waiqin365/lightapp/returngoods/f;->h:Landroid/widget/ImageView;

    const v1, 0x7f02030b

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    goto :goto_2

    :cond_9
    const-string/jumbo v2, "3"

    iget-object v3, v0, Lcom/waiqin365/lightapp/returngoods/c/a;->n:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_a

    iget-object v0, v1, Lcom/waiqin365/lightapp/returngoods/f;->h:Landroid/widget/ImageView;

    const v1, 0x7f02030c

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    goto :goto_2

    :cond_a
    const-string/jumbo v2, "4"

    iget-object v0, v0, Lcom/waiqin365/lightapp/returngoods/c/a;->n:Ljava/lang/String;

    invoke-virtual {v2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_b

    iget-object v0, v1, Lcom/waiqin365/lightapp/returngoods/f;->h:Landroid/widget/ImageView;

    const v1, 0x7f020308

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    goto :goto_2

    :cond_b
    iget-object v0, v1, Lcom/waiqin365/lightapp/returngoods/f;->h:Landroid/widget/ImageView;

    invoke-virtual {v0, v9}, Landroid/widget/ImageView;->setVisibility(I)V

    goto :goto_2
.end method
